package zhihuilan.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 数据库表映射
 * 入驻工厂表[my_shop]
 * */
@Data
@TableName("my_shop")
public class MyShop {

    @TableId("id")
    private Integer id;
    private String guid;
    private Integer staffid;
    private String title;
    private String en;
    private String title1;
    private String username;
    private String userpwd;
    private String logo;
    private String contact;
    private String telephone;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date addtime;
    private String pid;
    private Integer status;
    private Integer audit;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date audittime;
    private String remark;
    private String address1;
    private String address;
    private String lng;
    private String lat;
    private String lnggd;
    private String latgd;
    private String districtid;
    private String districtid1;
    private String region;
    private String region1;
    private String pcd;
    private Integer showhomepage;
    private String bgcolor;
    private String titlecolor;
    private String contenttitle;
    private String content;
    private String shebeititle;
    private String shebei;
    private String images;
    private Integer istax;
    private Double taxrate;
    private String baojiaremark;
    private String xiaoshouremark;
    private String qrcode;
    private String honorbanner;
    private String albumbanner;
    private String qrcodename;
    private Integer pricestatus;
    private Integer goodsid;
    private Long viptime;
    private String orderid;
    private String districtid2;
    private String ps;
    private Integer userid;
    private Integer invitecode;

    @TableField(exist = false)
    private Double distance;

}
